package com.job.Gai_Yian.Homework0722.No2;

import java.util.*;

/**
 * @author Gai_Yian
 * @version 1.0
 * @since 2022-07-23 13:00:01
 */
public class MapString {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        String str=sc.next();

    }

    public void check(Map<Character,Integer>a, String str) {
        for (int i = 0; i <=str.length()-1 ; i++) {
            char c=str.charAt(i);
            if (Character.isUpperCase(str.charAt(i))||Character.isLowerCase(str.charAt(i))||Character.isDigit(str.charAt(i))){

            }
            for (Character key:a.keySet()) {
                System.out.println(key+"\t"+a.get(key));
            }
        }

        }
    public void error (Map<Character,Integer>a, String str)throws Personal_Exception{
        if (str.isEmpty()){
            System.out.println("空字符串");
        }else if (a.isEmpty()){
            System.out.println("该字符串没有数字或字母");
        }
    }
}


